import request from '@/utils/request'

// 申请人列列表
export function applicantLists(params?: Record<string, any>) {
    return request.get({ url: '/applicant/list', params })
}
// 申请人列列表
export function applicantAll(params?: Record<string, any>) {
    return request.get({ url: '/applicant/all', params })
}
// 申请人列详情
export function applicantDetail(params: Record<string, any>) {
    return request.get({ url: '/applicant/detail', params })
}

// 申请人列新增
export function applicantAdd(params: Record<string, any>) {
    return request.post({ url: '/applicant/add', params })
}

// 申请人列编辑
export function applicantEdit(params: Record<string, any>) {
    return request.post({ url: '/applicant/edit', params })
}

// 申请人列删除
export function applicantDelete(params: Record<string, any>) {
    return request.post({ url: '/applicant/del', params })
}
